package com.my.vote.pst.info;

import com.my.vote.entity.req.ReqAddVote;
import com.sfh.lib.mvp.IPresenter;
import com.sfh.lib.mvp.IView;
import com.sfh.lib.mvp.annotation.Service;

/**
 * 功能描述:
 *
 * @date 2018/4/18
 */
@Service(achieve = PstAddVote.class)
public interface IPstAddVote extends IPresenter<IPstAddVote.IVVote>{
    interface IVVote extends IView{
        void onSuccess();
        void onFial(String msg);

        void onFileSuccess(String url);
        void onFileFial(String msg);
    }

    void addVote(ReqAddVote info);

    void updateFile(String file);
}
